from rest_framework import serializers
from .models import (
    StudentInfo, Consumption,ClubParticipation
)

class StudentInfoSerializer(serializers.ModelSerializer):
    class Meta:
        model = StudentInfo
        fields = '__all__'
class StudentDataSerializer(serializers.ModelSerializer):
    class Meta:
        model = StudentInfo
        fields = '__all__'

class StudentIDSerializer(serializers.ModelSerializer):
    class Meta:
        model = StudentInfo
        fields = ['StudentID','Name']